package com.zer0.tga.tile;

import com.zer0.tga.art.ArtArchive;
import com.zer0.tga.art.Screen;
import com.zer0.tga.entity.Entity;
import com.zer0.tga.level.Level;
import com.zer0.tga.math.RandNum;

public class BrokenRockTile extends Tile {
	
	   public void init(Level level, int x, int y) {
	        super.init(level, x, y);
	    }
	   
	public boolean canPass(Entity e) {
     return true;
 }

	public void render(Screen screen) {
     screen.draw(ArtArchive.brokenRockTile[0][RandNum.getRandNum(0, 1)], position.x * Tile.WIDTH, position.y * Tile.HEIGHT);
 }

}
